package com.quasar.hpatient.model.litePalmodel;

import com.bigkoo.pickerview.model.IPickerViewData;

import org.litepal.crud.DataSupport;

import java.util.Date;

/**
 * name : lishuai
 * time : 2017/9/26
 * title:日常检查项目信息
 */

public class DailyItemInfodb extends DataSupport implements IPickerViewData {

    private int id;
    private int primaryid;
    private String Name;  //项目名称
    private String Name_en; //英文名称
    private String Short_Name_en; //缩略英文名称
    private String dimensionid;
    private int LogType;
    private String standard;  //数据标准
    private String description;//描述信息
    private Date createTime;  //创建时间
    private Date lastEditTime; //最后编辑时间
    private int typeid;  //类型
    private int status;
    private int version;
    private int postid;
    private String markValue;

    public String getMarkValue() {
        return markValue;
    }

    public void setMarkValue(String markValue) {
        this.markValue = markValue;
    }



    public String getPaired() {
        return paired;
    }

    public void setPaired(String paired) {
        this.paired = paired;
    }

    private String paired;

    public int getPostid() {
        return postid;
    }

    public void setPostid(int postid) {
        this.postid = postid;
    }

    public String getVal() {
        return val;
    }

    public void setVal(String val) {
        this.val = val;
    }

    private String val;

    public DailyItemInfodb(int id, int primaryid, String name,
                           String name_en, String short_Name_en,
                           String dimensionid, int logType, String standard,
                           String description, Date createTime,
                           Date lastEditTime, int typeid,int status, int version) {
        this.id = id;
        this.primaryid = primaryid;
        Name = name;
        Name_en = name_en;
        Short_Name_en = short_Name_en;
        this.dimensionid = dimensionid;
        LogType = logType;
        this.standard = standard;
        this.description = description;
        this.createTime = createTime;
        this.lastEditTime = lastEditTime;
        this.typeid = typeid;
        this.status=status;
        this.version=version;
    }
    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPrimaryid() {
        return primaryid;
    }

    public void setPrimaryid(int primaryid) {
        this.primaryid = primaryid;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getName_en() {
        return Name_en;
    }

    public void setName_en(String name_en) {
        Name_en = name_en;
    }

    public String getShort_Name_en() {
        return Short_Name_en;
    }

    public void setShort_Name_en(String short_Name_en) {
        Short_Name_en = short_Name_en;
    }

    public String getDimensionid() {
        return dimensionid;
    }

    public void setDimensionid(String dimensionid) {
        this.dimensionid = dimensionid;
    }

    public int getLogType() {
        return LogType;
    }

    public void setLogType(int logType) {
        LogType = logType;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastEditTime() {
        return lastEditTime;
    }

    public void setLastEditTime(Date lastEditTime) {
        this.lastEditTime = lastEditTime;
    }

    public int getTypeid() {
        return typeid;
    }

    public void setTypeid(int typeid) {
        this.typeid = typeid;
    }

    @Override
    public String getPickerViewText() {
        return getName();
    }
}
